package com.martinwj.service.impl;

import com.martinwj.dao.reply.IReplyDAO;
import com.martinwj.entity.Reply;
import com.martinwj.service.ReplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: ReplyServiceImpl
 * @Description: TODO
 * @author: martin-wj
 * @createDate: 2021-04-04
 */
@Service
public class ReplyServiceImpl implements ReplyService {

    @Autowired
    private IReplyDAO iReplyDAO;

    /**
     * 保存用户的回复
     * @param reply
     */
    public void save(Reply reply) {
        iReplyDAO.insert(reply);
    }

}
